﻿<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>人员信息维护</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
    <style>
        .inline-block
        {
            display: inline-block;
        }
        
        .divLabel
        {
            margin-bottom: 5px;
        }
        
        /* 重写下拉框样式 */
        .select
        {
            width: 200px;
        }
        
        .combobox-item
        {
            height: 32px;
        }
        
        /* 重写下拉框样式 */
        .textbox-text
        {
            line-height: 22px !important;
            height: 22px !important;
        }
    </style>
</head>
<body>
    <!-- 查询区域start -->
    <div class="panelSection" id="queryZone">
        <div class="easyui-panel " title="查询区域" style="padding: 3px 3px 5px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div class="inline-block">
                <div class="divLabel">
                    角色:</div>
                <select id='ddlRole' data-options='editable:false' class='easyui-combobox select'
                    style="width: 120px;">
                </select>
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    分厂:</div>
                <select id='ddlFactory' data-options='editable:false' class='easyui-combobox select'
                    style="width: 160px;">
                </select>
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    工区:</div>
                <select id='ddlWorkcenter' data-options='editable:false' class='easyui-combobox select'>
                </select>
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    班组:</div>
                <select id='ddlTeam' data-options='editable:false' class='easyui-combobox select'>
                </select>
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    姓名:</div>
                <input id="txtFullname" class="easyui-textbox" style="width: 80px;" />
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    员工号:</div>
                <input id="txtEmployeename" class="easyui-textbox" style="width: 80px;" />
            </div>
            <button id="btnSearch" class="easyui-linkbutton" data-options="">
                查 询</button>
            <button id="btnReset" class="easyui-linkbutton" data-options="">
                重 置</button>
        </div>
    </div>
    <!-- 查询区域end -->
    <!-- 查询结果区域start -->
    <div class="panelSection" id="dataGridZone">
        <div class="easyui-panel " title="查询结果" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="background: #fff; margin: 3px 0px 3px 3px">
                <div style="width: 950px;">
                    <table id="tbEmployeeMain" class="easyui-datagrid" style="height: 300px;" data-options="rownumbers:true">
                    </table>
                    <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                     buttons:[{
                            iconCls:'',
                            text:'Go',
                            group:'paging-tail-btns',
                            id:'pageGo'
                    }]
                ">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 查询结果区域end -->
    <!-- 班次信息区域start -->
    <div class="panelSection" id="workShiftZone">
        <!-- 班次信息start -->
        <div class="easyui-panel " title="班次信息" style="padding: 3px 3px 5px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div class="inline-block">
                <div class="divLabel">
                    日历</div>
                <select id='ddlCalender' data-options='editable:false' class='easyui-combobox select'>
                </select>
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    班次</div>
                <select id='ddlWorkShift' data-options='editable:false' class='easyui-combobox select'>
                </select>
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    能力(低-高)</div>
                <select id='ddlSkill' data-options='editable:false' class='easyui-combobox select'
                    style="width: 100px !important;">
                    <option value=""></option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                </select>
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    一人多机</div>
                <select id='ddlIsParallel' data-options='editable:false,panelHeight:100' class='easyui-combobox select'
                    style="width: 100px !important;">
                    <option value=""></option>
                    <option value="0">否</option>
                    <option value="1">是</option>
                </select>
            </div>
            <div class="inline-block">
                <div class="divLabel">
                    参与排班</div>
                <select id='ddlIsSchedule' data-options='editable:false,panelHeight:100' class='easyui-combobox select'
                    style="width: 100px !important;">
                    <option value=""></option>
                    <option value="0">否</option>
                    <option value="1">是</option>
                </select>
            </div>
            <button id="btnUpdateEmployeeInfo" class="easyui-linkbutton" data-options="">
                保 存</button>
        </div>
        <!-- 班次信息end -->
        <!-- 休假信息start -->
        <div class="easyui-panel " title="休假信息" style="padding: 3px;width: 100%;" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="padding: 3px 3px 5px;">
                <div class="inline-block">
                    <div class="divLabel">
                        休假事由:</div>
                    <input id="txtLeaveReason" class="easyui-textbox" style="width: 550px;" />
                </div>
                <div class="inline-block">
                    <div class="divLabel">
                        休假开始时间：</div>
                    <input id="txtLeaveStartDate" class="easyui-datetimebox" style="width: 150px;" data-options='editable:false,showSeconds:false' />
                </div>
                <div class="inline-block">
                    <div class="divLabel">
                        休假结束时间：</div>
                    <input id="txtLeaveEndDate" class="easyui-datetimebox" style="width: 150px;" data-options='editable:false,showSeconds:false' />
                </div>
                <button id="btnLeaveInfoAdd" class="easyui-linkbutton" data-options="">
                    添加</button>
                <button id="btnLeaveInfoDele" class="easyui-linkbutton" data-options="">
                    删除</button>
            </div>
            <div style="margin: 3px 0px 3px 3px">
                    <table id="tbEmployeeLeaveInfo" class="easyui-datagrid" style="width: 100%; height: 200px;"
                        data-options="rownumbers:true">
                    </table>
                    <div id="pp1" style="float: right" class="easyui-pagination" data-options="   
         layout:['first','prev','next','last','manual','info'],              
            total: 0,
            showPageList: false,
            showPageInfo: false,
            showRefresh: false,
            afterPageText:'共&nbsp{pages}&nbsp页',
            buttons:[{
                    iconCls:'',
                    text:'Go',
                    group:'paging-tail-btns',
                    id:'pageGo1'
            }]  
        ">
                    </div>
                <div id="leaveInfoMsg" style="font-size: 14px; height: 40px">
                </div>
            </div>
        </div>
        <!-- 休假信息end -->
    </div>
    <!-- 班次信息区域end -->
    <!-- 设备信息区域start -->
    <div class="panelSection" id="resourceZone">
        <div class="easyui-panel " title="设备信息" style="padding: 3px 3px 5px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="float: left;">
                <table id="tbEmployeeResources" class="easyui-datagrid" style="width: 500px; height: 346px;"
                    data-options="rownumbers:true">
                </table>
            </div>
            <div style="float: left; width: 90px;">
                <button class="easyui-linkbutton" id="removeResource" data-options="" style="margin: 100px 10px 60px;">
                    移除 &gt;&gt;
                </button>
                <button class="easyui-linkbutton" id="addResource" data-options="" style="margin: 0 10px;">
                    &lt;&lt; 添加</button>
            </div>
            <div style="float: left;">
                <div style="margin-bottom: 5px;">
                    <div class="inline-block">
                        <div class="divLabel">
                            设备所属分厂:</div>
                        <select id='ddlResourceFactory' data-options='editable:false' class='easyui-combobox select'
                            style="width: 140px;">
                        </select>
                    </div>
                    <!-- <div class="inline-block">
            <div class="divLabel">设备型号:</div>
            <select id='ddlResourceFamily' data-options='editable:false' class='easyui-combobox select'
              style="width:140px;"></select>
          </div> -->
                    <div class="inline-block">
                        <div class="divLabel">
                            设备编码:</div>
                        <input id="txtResourceName" class="easyui-textbox" />
                    </div>
                    <div class="inline-block">
                        <div class="divLabel">
                            设备名称:</div>
                        <input id="txtDescription" class="easyui-textbox" />
                    </div>
                    <button class="easyui-linkbutton" id="btnResourceSearch" data-options="">
                        查 询</button>
                </div>
                <table id="tbResourceList" class="easyui-datagrid" style="width: 450px; height: 300px;"
                    data-options="rownumbers:true">
                </table>
            </div>
        </div>
    </div>
    <div id="statusMessage" style="font-size: 14px; height: 40px">
    </div>
</body>
</html>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/json2.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/array.pollyfill.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ApsJs/EmployeeMaintPage.js" type="text/javascript"></script>
